package com.xgjweb.fsi.domain;

import java.util.List;

import com.xgjweb.common.dto.XgjWebDto;
import com.xgjweb.common.utils.XgjWebUtils;

public class Journal extends XgjWebDto {
	private Integer id;
	private String title;
	private String content;
	private Integer category;
	private String categoryName;
	private String date;
	private Condition condition=new Condition();
	private List<Revert> reverts;
	private String top;

	public String getTop() {
		return top;
	}

	public void setTop(String top) {
		this.top = top;
	}

	public List<Revert> getReverts() {
		return reverts;
	}

	public void setReverts(List<Revert> reverts) {
		this.reverts = reverts;
	}

	public Condition getCondition() {
		return condition;
	}

	public void setCondition(Condition condition) {
		this.condition = condition;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getCategory() {
		return category;
	}

	public void setCategory(Integer category) {
		this.category = category;
	}

	public String getDate() {
		return  XgjWebUtils.dateFormatStr(date);
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
}
